home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / PolicyKit / policy / org.freedesktop.hal.device-access.policy < prev    next >
Encoding:
Extensible Markup Language  |  2009-07-05  |  7.3 KB  |  212 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE policyconfig PUBLIC
  3.  "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
  4.  "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
  5.  
  6. <!--
  7. Policy definitions for HAL's ACL Management mechanism
  8.  
  9. Copyright (c) 2007 David Zeuthen <david@fubar.dk>
  10.  
  11. HAL is licensed to you under your choice of the the Academic Free
  12. License Version 2.1, or the GNU General Public License version 2. Some
  13. individual source files may be under the GPL only. See COPYING for
  14. details.
  15.  
  16. NOTE: Please keep the actions in alpabetical order
  17.  
  18. -->
  19.  
  20. <policyconfig>
  21.  
  22.   <action id="org.freedesktop.hal.device-access.audio-player">
  23.     <description>Directly access audio players</description>
  24.     <message>System policy prevents access to audio players</message>
  25.     <defaults>
  26.       <allow_inactive>no</allow_inactive>
  27.       <allow_active>yes</allow_active>
  28.     </defaults>
  29.   </action>
  30.  
  31.   <action id="org.freedesktop.hal.device-access.camera">
  32.     <description>Directly access digital cameras</description>
  33.     <message>System policy prevents access to digital cameras</message>
  34.     <defaults>
  35.       <allow_inactive>no</allow_inactive>
  36.       <allow_active>yes</allow_active>
  37.     </defaults>
  38.   </action>
  39.  
  40.   <action id="org.freedesktop.hal.device-access.cdrom">
  41.     <description>Directly access optical drives</description>
  42.     <message>System policy prevents access to optical drives</message>
  43.     <defaults>
  44.       <allow_inactive>yes</allow_inactive>
  45.       <allow_active>yes</allow_active>
  46.     </defaults>
  47.   </action>
  48.  
  49.   <action id="org.freedesktop.hal.device-access.dvb">
  50.     <description>Directly access DVB devices</description>
  51.     <message>System policy prevents access to DVB devices</message>
  52.     <defaults>
  53.       <allow_inactive>no</allow_inactive>
  54.       <allow_active>yes</allow_active>
  55.     </defaults>
  56.   </action>
  57.  
  58.   <action id="org.freedesktop.hal.device-access.fingerprint-reader">
  59.     <description>Directly access to fingerprint reader devices</description>
  60.     <message>System policy prevents access to fingerprint readers</message>
  61.     <defaults>
  62.       <allow_inactive>no</allow_inactive>
  63.       <allow_active>yes</allow_active>
  64.     </defaults>
  65.   </action>
  66.  
  67.   <action id="org.freedesktop.hal.device-access.floppy">
  68.     <description>Directly access Floppy devices</description>
  69.     <message>System policy prevents access to Floppy devices</message>
  70.     <defaults>
  71.       <allow_inactive>yes</allow_inactive>
  72.       <allow_active>yes</allow_active>
  73.     </defaults>
  74.   </action>
  75.  
  76.   <action id="org.freedesktop.hal.device-access.ieee1394-avc">
  77.     <description>Directly access Firewire AVC devices</description>
  78.     <message>System policy prevents access to Firewire AVC devices</message>
  79.     <defaults>
  80.       <allow_inactive>no</allow_inactive>
  81.       <allow_active>yes</allow_active>
  82.     </defaults>
  83.   </action>
  84.  
  85.   <action id="org.freedesktop.hal.device-access.ieee1394-iidc">
  86.     <description>Directly access Firewire IIDC devices</description>
  87.     <message>System policy prevents access to Firewire IIDC devices</message>
  88.     <defaults>
  89.       <allow_inactive>no</allow_inactive>
  90.       <allow_active>yes</allow_active>
  91.     </defaults>
  92.   </action>
  93.  
  94.   <action id="org.freedesktop.hal.device-access.joystick">
  95.     <description>Directly access Joystick devices</description>
  96.     <message>System policy prevents access to Joystick devices</message>
  97.     <defaults>
  98.       <allow_inactive>yes</allow_inactive>
  99.       <allow_active>yes</allow_active>
  100.     </defaults>
  101.   </action>
  102.  
  103.   <action id="org.freedesktop.hal.device-access.modem">
  104.     <description>Directly access serial modem devices</description>
  105.     <message>System policy prevents access to serial modem devices</message>
  106.     <defaults>
  107.       <allow_inactive>auth_admin_keep_always</allow_inactive>
  108.       <allow_active>auth_admin_keep_always</allow_active>
  109.     </defaults>
  110.   </action>
  111.  
  112.   <action id="org.freedesktop.hal.device-access.mouse">
  113.     <description>Directly access Mouse devices</description>
  114.     <message>System policy prevents access to Mouse devices</message>
  115.     <defaults>
  116.       <allow_inactive>yes</allow_inactive>
  117.       <allow_active>yes</allow_active>
  118.     </defaults>
  119.   </action>
  120.  
  121.   <action id="org.freedesktop.hal.device-access.obex">
  122.     <description>Directly access OBEX devices</description>
  123.     <message>System policy prevents access to OBEX devices</message>
  124.     <defaults>
  125.       <allow_inactive>no</allow_inactive>
  126.       <allow_active>yes</allow_active>
  127.     </defaults>
  128.   </action>
  129.  
  130.   <action id="org.freedesktop.hal.device-access.pda">
  131.     <description>Directly access PDA devices</description>
  132.     <message>System policy prevents access to PDA devices</message>
  133.     <defaults>
  134.       <allow_inactive>no</allow_inactive>
  135.       <allow_active>yes</allow_active>
  136.     </defaults>
  137.   </action>
  138.  
  139.   <action id="org.freedesktop.hal.device-access.ppdev">
  140.     <description>Directly access parallel port devices</description>
  141.     <message>System policy prevents access to parallel port devices</message>
  142.     <defaults>
  143.       <allow_inactive>auth_admin_keep_always</allow_inactive>
  144.       <allow_active>auth_admin_keep_always</allow_active>
  145.     </defaults>
  146.   </action>
  147.  
  148.   <action id="org.freedesktop.hal.device-access.printer">
  149.     <description>Directly access printers</description>
  150.     <message>System policy prevents access to printers</message>
  151.     <defaults>
  152.       <allow_inactive>no</allow_inactive>
  153.       <allow_active>yes</allow_active>
  154.     </defaults>
  155.   </action>
  156.  
  157.   <action id="org.freedesktop.hal.device-access.removable-block">
  158.     <description>Directly access removable block devices</description>
  159.     <message>System policy prevents access to removable block devices</message>
  160.     <defaults>
  161.       <allow_inactive>no</allow_inactive>
  162.       <allow_active>no</allow_active>
  163.     </defaults>
  164.   </action>
  165.  
  166.   <action id="org.freedesktop.hal.device-access.scanner">
  167.     <description>Directly access scanners</description>
  168.     <message>System policy prevents access to scanners</message>
  169.     <defaults>
  170.       <allow_inactive>no</allow_inactive>
  171.       <allow_active>yes</allow_active>
  172.     </defaults>
  173.   </action>
  174.  
  175.   <action id="org.freedesktop.hal.device-access.sound">
  176.     <description>Directly access sound devices</description>
  177.     <message>System policy prevents access to the sound devices</message>
  178.     <defaults>
  179.       <allow_inactive>no</allow_inactive>
  180.       <allow_active>yes</allow_active>
  181.     </defaults>
  182.   </action>
  183.  
  184.   <action id="org.freedesktop.hal.device-access.video">
  185.     <description>Directly access Video devices</description>
  186.     <message>System policy prevents access to Video devices</message>
  187.     <defaults>
  188.       <allow_inactive>yes</allow_inactive>
  189.       <allow_active>yes</allow_active>
  190.     </defaults>
  191.   </action>
  192.  
  193.   <action id="org.freedesktop.hal.device-access.video4linux">
  194.     <description>Directly access video capture devices</description>
  195.     <message>System policy prevents access to video capture devices</message>
  196.     <defaults>
  197.       <allow_inactive>no</allow_inactive>
  198.       <allow_active>yes</allow_active>
  199.     </defaults>
  200.   </action>
  201.  
  202.   <action id="org.freedesktop.hal.device-access.smart-card-reader">
  203.     <description>Directly access smart-card readers</description>
  204.     <message>System policy prevents access to the smart-card readers</message>
  205.     <defaults>
  206.       <allow_inactive>no</allow_inactive>
  207.       <allow_active>yes</allow_active>
  208.     </defaults>
  209.   </action>
  210.  
  211. </policyconfig>
  212.